package com.soft.admin.service;

import javax.servlet.http.HttpServletRequest;

import com.soft.admin.dto.RuleDTO;
import com.soft.support.PageParam;

public interface RuleService {
	/**
	 * 获取规章制度.
	 */
	public String get(RuleDTO params, PageParam page);
	
	/**
	 * 获取规章制度明细.
	 */
	public String getFile(Integer id);
	
	/**
	 * 获取栏目信息.
	 */
	public String getChannel();
	
	/**
	 * 获取用户信息.
	 */
	public String getUser();
	
	/**
	 * 添加修改规章制度.
	 */
	public String addOrEdit(HttpServletRequest request, RuleDTO params, String[] files);
	
	/**
	 * 删除规章制度.
	 */
	public String remove(HttpServletRequest request, Integer id);
	
	/**
	 * 上传.
	 */
	public String upload(HttpServletRequest request);
}
